package com.repast.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.repast.common.ServerResponse;
import com.repast.service.IOrderProcessService;

@Controller
@RequestMapping("/process/")
public class OrderProcessController {
	
	@Autowired
	private IOrderProcessService processService;

	@RequestMapping("order_process.do")
	@ResponseBody
	public ServerResponse selectProcessByOrdersId(Integer ordersId){
		return processService.selectProcessByOrdersId(ordersId);
	}
}
